#define _CRT_SECURE_NO_WARNINGS 1
#include "Vector.h"
using namespace std;

void test1() {
	lzc::vector<int> v(2, 5);
	cout << v;
	v.push_back(1);
	v.push_back(2);
	v.push_back(3);
	v.push_back(4);
	v.push_back(6);
	cout << v;
	lzc::vector<int> v1(v);
	v1.insert(v1.begin(), 100);
	v1.insert(v1.end(), 23);
	cout << v1;
	v1 = v;
	cout << v;
}

void test2() {
	lzc::vector<int> v(5, 4);
	cout << v;
	v.insert(v.begin(), 10);
	v.insert(v.end(), 10);
	cout << v;
	lzc::vector<int> v1 = v;
	v.erase(v.begin());
	v.erase(v.end()-1);
	cout << v;
	lzc::vector<int> v2(v1.begin(), v1.end());
	cout << v2;
	v2 = v;
	cout << v2;
}

void test3() {
	//lzc::vector<int> v1(5, 1);
	//lzc::vector<int> v2(2147483648, 1);
	//lzc::vector<int> v3(0xffffffff, 1);
}
int main() {
	test2();
	return 0;
}